<%@page contentType="text/html" pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://struts.apache.org/tags-html-el" prefix="html-el" %>
<%@taglib uri="http://struts.apache.org/tags-bean-el" prefix="bean-el" %>
<%@taglib uri="http://struts.apache.org/tags-logic-el" prefix="logic-el" %>
<%@taglib uri="http://struts.apache.org/tags-tiles-el" prefix="tiles-el" %>
<%@taglib uri="/WEB-INF/tld/application.tld" prefix="app" %>

<html-el:html>
	<head>
		<app:header/>
		<script type="text/javascript">
			function showMessage() {
				<logic-el:messagesPresent message="true">
					<html-el:messages id="message" message="true">
						alert("${message}");
					</html-el:messages>
				</logic-el:messagesPresent>				
			}
		</script>
	</head>
	<body class="tundra" onload="showMessage()" >
		<table style="width: 100%; height: 100%" border="0" cellpading="0" cellspacing="0">
			<tr>
				<td style="vertical-align: top; padding-top: 10px;">
					<tiles-el:insert attribute="body"/>
				</td>
			</tr>
		</table>
	</body>
</html-el:html>